//    Copyright (C) Kherty.  All rights reserved.
namespace OpenLS.Spreadsheet.AnalysisToolPak
{
    internal abstract class UnitBase
    {
        private string _name;

        public UnitBase(string name)
        {
            _name = name;
        }

        public string Name
        {
            get { return _name; }
        }

        public abstract double ConvertTo(double value, UnitBase toUnit);
    }
}